package TruongNhaLib;

public class Model {
	private String id;
	private int index;
	private String name;
	private int  status;
	private String birth;
	private String sex;
	private String phone;
	private String email;
	public Model(){
		this.id = "";
		this.index = 0;
		this.name="";
		this.status = 3;
		this.birth = "";
		this.sex = "";
		this.phone = "";
		this.email = "";
	}
	public Model(String id, int index, String name, String birth, String sex, int status ) {
		this.id = id;
		this.index = index;
		this.name = name;
		this.status = status;//3 Di hoc; 1- Co phep; 0- Khong phep; 2-Di hoc muon
		this.birth = birth;
		this.sex = sex;
		this.phone = "";
		this.email="";
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getBirth() {
		return birth;
	}

	public void setBirth(String birth) {
		this.birth = birth;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex= sex;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
	public void setPhone(String phone) {
		this.phone = phone; 
	}
	public String getPhone() {
		return this.phone;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getEmail() {
		return this.email;
	}
}//End class